#pragma once


class CContainer : public CWnd
{
	DECLARE_DYNAMIC(CContainer)

public:
	CContainer();
	virtual ~CContainer();

protected:
	DECLARE_MESSAGE_MAP()
protected:
	CArray<CComboBox*,CComboBox*> m_arCombo;
	CArray<CStatic*,CStatic*> m_arStatic;
public:

	BOOL Create(int x, int y, int cx, int cy, CWnd* pParentWnd, UINT nID);
	BOOL AddCombo(BOOL fDropList=TRUE);
	BOOL AddStatic();
	CComboBox* GetCombo(int nNum);
	CStatic* GetStatic(int nNum);
	void DeleteAllItems();
	void UpadateScroll(int nTop);
public:
	afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
};
